package com.zy.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

@Data
public class User {
  private Role role;

  private Integer id;
  private String userCode;
  private String username;
  private String password;
  private String salt;
  private Integer gender;
  @JsonFormat(pattern = "yyyy-MM-dd")
  private java.util.Date birthday;
  private String phone;
  private String address;
  private Integer userRole;
  private Integer createdBy;
  private java.util.Date creationDate;
  private Integer modifyBy;
  private java.util.Date modifyDate;
  private String attachPath;
  private String attachDescr;



}
